package com.yunhai.common.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;
import lombok.experimental.Accessors;

@Data
@TableName("t_user")
@Accessors(chain = true)
public class UserInfoDto extends BaseDto {

    @TableId(type=IdType.ASSIGN_ID)
    private Long id;
    private String username;
    private String openId;
    @JsonIgnore
    private String password;
    private String avatar;
    private String nickname;
    private Double height;
    private Double weight;
    private Integer age;
    private Integer gender;
}
